home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
usr
/
lib
/
python2.4
/
encodings
/
cp856.pyc
(
.txt
)
< prev
next >
Wrap
Python Compiled Bytecode
|
2005-10-18
|
4KB
|
167 lines
# Source Generated with Decompyle++
# File: in.pyc (Python 2.4)
""" Python Character Mapping Codec generated from 'CP856.TXT' with gencodec.py.
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
(c) Copyright 2000 Guido van Rossum.
"""
import codecs
class Codec(codecs.Codec):
def encode(self, input, errors = 'strict'):
return codecs.charmap_encode(input, errors, encoding_map)
def decode(self, input, errors = 'strict'):
return codecs.charmap_decode(input, errors, decoding_map)
class StreamWriter(Codec, codecs.StreamWriter):
pass
class StreamReader(Codec, codecs.StreamReader):
pass
def getregentry():
return (Codec().encode, Codec().decode, StreamReader, StreamWriter)
decoding_map = codecs.make_identity_dict(range(256))
decoding_map.update({
128: 1488,
129: 1489,
130: 1490,
131: 1491,
132: 1492,
133: 1493,
134: 1494,
135: 1495,
136: 1496,
137: 1497,
138: 1498,
139: 1499,
140: 1500,
141: 1501,
142: 1502,
143: 1503,
144: 1504,
145: 1505,
146: 1506,
147: 1507,
148: 1508,
149: 1509,
150: 1510,
151: 1511,
152: 1512,
153: 1513,
154: 1514,
155: None,
156: 163,
157: None,
158: 215,
159: None,
160: None,
161: None,
162: None,
163: None,
164: None,
165: None,
166: None,
167: None,
168: None,
169: 174,
170: 172,
171: 189,
172: 188,
173: None,
174: 171,
175: 187,
176: 9617,
177: 9618,
178: 9619,
179: 9474,
180: 9508,
181: None,
182: None,
183: None,
184: 169,
185: 9571,
186: 9553,
187: 9559,
188: 9565,
189: 162,
190: 165,
191: 9488,
192: 9492,
193: 9524,
194: 9516,
195: 9500,
196: 9472,
197: 9532,
198: None,
199: None,
200: 9562,
201: 9556,
202: 9577,
203: 9574,
204: 9568,
205: 9552,
206: 9580,
207: 164,
208: None,
209: None,
210: None,
211: None,
212: None,
213: None,
214: None,
215: None,
216: None,
217: 9496,
218: 9484,
219: 9608,
220: 9604,
221: 166,
222: None,
223: 9600,
224: None,
225: None,
226: None,
227: None,
228: None,
229: None,
230: 181,
231: None,
232: None,
233: None,
234: None,
235: None,
236: None,
237: None,
238: 175,
239: 180,
240: 173,
241: 177,
242: 8215,
243: 190,
244: 182,
245: 167,
246: 247,
247: 184,
248: 176,
249: 168,
250: 183,
251: 185,
252: 179,
253: 178,
254: 9632,
255: 160 })
encoding_map = codecs.make_encoding_map(decoding_map)